package com.businesswebsite.businesswebsite.FormalWebExplot.Dao.Product;

import com.businesswebsite.businesswebsite.FormalWebExplot.Entity.Product;
import com.businesswebsite.businesswebsite.FormalWebExplot.Utils.Result;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface ProductDao {

    Integer addProduct(Map<String,Object> params);

    List<Product> getProduct();
    Integer delProduct(String pro_id);

    Product getProductById(String pro_id);
}
